package cn.tedu.attendance.mapper;

import cn.tedu.attendance.pojo.dto.PageParam;
import cn.tedu.attendance.pojo.entity.Attendance;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AttendanceMapper {
    List<Attendance> findAll();
    Attendance findOne(Integer id);

    void add(Attendance attendance);
    void update(Attendance attendance);
    void delete(Integer id);

    Integer queryCount(PageParam param);
    List<Attendance> queryData(PageParam param);

}
